﻿using Prometheus;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himp.Platform
{
    public static class MetricsRegistry
    {
        // 创建一个 Counter 指标，用于统计请求总数
        public static Counter RequestsCounter = Metrics.CreateCounter("himp_platform_requests"
            , "himp_platform Requests", ["himp", "platform", "requests"]);

        // 创建其他指标，根据需要添加更多
        // public static Histogram ResponseTimeHistogram = Metrics.CreateHistogram("your_app_response_time_seconds", "Response time in seconds");
    }
}
